<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>购物车 - 华为商城</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <header class="header">
        <!-- 同首页的导航栏 -->
    </header>

    <main class="cart-container">
        <h2>我的购物车</h2>
        <div class="cart-items">
            <!-- 购物车商品将通过JS动态加载 -->
            <div class="empty-cart">
                <p>购物车是空的</p>
                <a href="index.html" class="btn-primary">去逛逛</a>
            </div>
        </div>
        <div class="cart-summary">
            <div class="summary-details">
                <p>共 <span class="total-count">0</span> 件商品</p>
                <p class="total-price">总价: ¥<span>0.00</span></p>
            </div>
            <button class="btn-checkout">去结算</button>
        </div>
    </main>

    <script src="js/cart.js"></script>
</body>
</html>